/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package objectcreate;

/**
 *
 * @author Student
 */
public class Arcade extends Videogame{
    public int maxScore;
            
            Arcade()
            {
                maxScore=(1);
            }

    /**
     * @return the maxScore
     */
    public int getMaxScore() {
        return maxScore;
    }

    /**
     * @param maxScore the maxScore to set
     */
    public void setMaxScore(int maxScore) {
        this.maxScore = maxScore;
    }
    
    
    public String printgame() {
        return name + "\nArcade Game\nRated: " + rating +"\nThe max score is: "+ maxScore;
    }
    public String export()
    {
        return "Arcade," + name + "," + rating + "," + maxScore;
    }
}
